package tyk.pojo;

import java.sql.Timestamp;

/***
 *@title Email
 *@description <TODO description class purpose>
 *@author Tang'ya'kang
 *@VERSION 1.0.0
 *@CREATE 2023/5/28 14:28
 **/
public class Email {
    private String user_name;
    private Timestamp expiration_time;
    Integer token;

    public Email(String user_name, Timestamp expiration_time, Integer token) {
        this.user_name = user_name;
        this.expiration_time = expiration_time;
        this.token = token;
    }

    public String getUser_name() {
        return user_name;
    }

    public Timestamp getExpiration_time() {
        return expiration_time;
    }

    public Integer getToken() {
        return token;
    }

    @Override
    public String toString() {
        return "Email{" +
                "user_name='" + user_name + '\'' +
                ", expiration_time=" + expiration_time +
                ", token=" + token +
                '}';
    }
}
